//
//  LXActionSheet.h
//  LXActionSheet
//
//  Created by lachesis-zhu on 16/4/26.
//  Copyright © 2016年 yafeng.zhu@lachesis-mh.com. All rights reserved.
//

#import <UIKit/UIKit.h>

@class LXActionSheet;
/**
 *  <#Description#>
 */
@protocol LXActionSheetDelegate <NSObject>

- (void)LXActionSheet:(LXActionSheet *)actionSheet didSelectIndex:(NSInteger)buttonIndex;

@end

@interface LXActionSheet:UIView

@property (nonatomic, strong) id<LXActionSheetDelegate> delegate;
@property (nonatomic, strong) UIColor *titleColor;

//
- (id)initWithTitle:(NSString *)title delegate:(id<LXActionSheetDelegate>)delegate cancelButtonTitle:(NSString *)cancelButtonTitle destructiveButtonTitle:destructiveButtonTitle otherButtonTitles:(NSArray *)titlesArray;

- (void)showInView:(UIView *)view;

@end
